#求100内奇数和

sumj=0
sumo=0

for j in range(1,101,2):
    sumj+=j

for o in range(2,101,2):
    sumo+=o

print("100内奇数之和:{}".format(sumj),"\n100内偶数之和:{}".format(sumo))


# z做得不错
